//
// Created by Administrator on 2021/11/4.
//

#include "Cube.h"

Cube::Cube(float size) {
    type = GET_CLASS(__FILE__);
    name = type + "_" + id;

    geometries.push_back(new BoxBufferGeometry(size));
}

Cube::Cube(float left, float right, float bottom, float top, float nearplan, float farplan) {
    type = GET_CLASS(__FILE__);
    name = type + "_" + id;

    geometries.push_back(new BoxBufferGeometry(left, right, bottom, top, nearplan, farplan));
}
